import Vue from 'vue'
import App from './App.vue'
import 'vant/lib/index.css';
Vue.config.productionTip = false
import VueKeepScrollPosition from 'vue-keep-scroll-position'

Vue.use(VueKeepScrollPosition)
// 引入路由
import { router } from './router/index.js'
// 挂载Vuex
import store from "@/store.js"
// 局部导入Vant2
import { Dialog, Empty, Field, Form, Radio, RadioGroup } from 'vant';
Vue.use(Empty)
Vue.use(Dialog)
Vue.use(Form);
Vue.use(Field);
Vue.use(Radio)
Vue.use(RadioGroup)

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
